/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tv.inventario.rn;

import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import tv.inventario.dao.MarcaDAO;
import tv.inventario.modelo.Marca;
import tv.inventario.modelo.RubroPK;

/**
 *
 * @author ctrosch
 */
@Stateless
public class MarcaRN {

    @EJB private MarcaDAO marcaDAO;


    public List<Marca> getLista(){
        return marcaDAO.getLista();
    }

    public Marca getMarca(RubroPK id) {
        return marcaDAO.getMarca(id);
    }
    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
 
}
